Hezarfen\ManualShipmentTracking\Courier_Hepsijet_Integration D

Total Complexity 164
Dependencies 6
Dependents 2
Total lines 1,259
Lines of code 741
Logical lines of code 399
Comment lines 281
Methods 41
Properties 3

Methods 41

Method Rating Maintainability Complexity Lines of code
api_create_return_barcode()
B
32 14 107
handle_webhook()
A
43 12 48
api_create_barcode()
A
37 9 74
get_available_dates_for_return()
A
48 9 33
get_pricing()
A
46 8 38
get_price_for_desi()
A
55 8 19
get_cargo_status()
S
53 7 23
convert_turkish_date_to_mysql()
S
51 6 28
get_pricing_range_info()
S
53 6 22
get_barcode()
S
57 6 17
make_relay_request()
S
50 5 27
get_kargogate_balance()
S
50 5 27
decrypt_webhook_secret()
S
53 5 22
register_domain_and_get_webhook_secret()
S
55 5 18
make_relay_request_for_return_dates()
S
50 4 27
encrypt_webhook_secret()
S
56 4 18
handle_shipped_event()
S
56 4 18
update_shipment_status()
S
59 4 14
get_shipment_details_by_delivery_no()
S
61 4 12
handle_delivered_event()
S
58 3 15
verify_webhook_signature()
S
60 3 13
api_cancel_shipment()
S
60 3 12
ensure_webhook_secret()
S
64 3 11
has_credentials()
S
69 3 6
is_shipped()
S
67 3 7
process_shipment_shipped()
S
63 2 12
is_openssl_available()
S
79 2 3
get_tracking_no()
S
69 2 7
is_delivered()
S
68 2 7
process_shipment_delivered()
S
68 2 7
__construct()
S
72 1 5
get_setting()
S
78 1 3
get_webhook_secret()
S
75 1 4
save_webhook_secret()
S
75 1 4
api_get_shipping_details()
S
74 1 4
auto_shipment_create_handler()
S
80 1 3
auto_shipment_create_handler_with_params()
S
77 1 3
is_auto_shipment_supported()
S
82 1 3
respond_success()
S
69 1 6
respond_error()
S
66 1 9
clear_pricing_cache()
S
73 1 5